package com.example.contestsystem.Entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;

@Entity
@Table(name = "team")
public class Team {
    @Id
    private String teamId;
    private String teamName;
    private int teamMemberNum;
    private String contestId;
    private int captainAccount;
    private int isTeamValid;

    public String getTeamId() {
        return teamId;
    }

    public void setTeamId(String teamId) {
        this.teamId = teamId;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public int getTeamMemberNum() {
        return teamMemberNum;
    }

    public void setTeamMemberNum(int teamMemberNum) {
        this.teamMemberNum = teamMemberNum;
    }

    public String getContestId() {
        return contestId;
    }

    public void setContestId(String contestId) {
        this.contestId = contestId;
    }

    public int getCaptainAccount() {
        return captainAccount;
    }

    public void setCaptainAccount(int captainAccount) {
        this.captainAccount = captainAccount;
    }

    public int getIsTeamValid() {
        return isTeamValid;
    }

    public void setIsTeamValid(int isTeamValid) {
        this.isTeamValid = isTeamValid;
    }
}
